package pl.koziolekweb.gallerygenerator.model;

import java.awt.Image;
import java.io.Serializable;

public class Obrazek implements Serializable{
	private static final long serialVersionUID = 1L;
	private Image image;
	private String title;
	private String date;
	private String description;
	private String persons;
	private long position;
	
	public Obrazek(Image image) {
		this.image = image;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getPersons() {
		return persons;
	}

	public void setPersons(String persons) {
		this.persons = persons;
	}

	public long getPosition() {
		return position;
	}

	public void setPosition(long position) {
		this.position = position;
	}

	public Image getImage() {
		return image;
	}
}
